(function (global, factory) {
	typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
	typeof define === 'function' && define.amd ? define(factory) :
  // here name is your name
	(global.headfooter = factory());
}(this, (function () { 
    $.ajax({
        url:"/common/nav.html",
        type:"GET",
        dataType:"html",
        success:function(data){
            $(".global-nav").html(data)
            navInit();
        }
    })
    
    $.ajax({
        url:"/common/footer.html",
        type:"GET",
        dataType:"html",
        success:function(data){
            $(".global-footer").html(data)
        }
    })

    return 0;
})))